let pathName = "/soil"
export default {
    routers: (pathName => [{
        path: pathName,
        name: pathName,
        component: () => import('@/views/base/Layout'),
        children: [{
            path: 'test-item-selection',
            name: 'test-item-selection',
            meta: {
                title: '检测项目'
            },
            component: () => import('@/views/soil/TestItemSelection'),
        }, {
            path: 'test-item-selection-zero',
            name: 'test-item-selection-zero',
            meta: {
                title: '检测项目零元购'
            },
            component: () => import('@/views/soil/TestItemSelectionZero'),
        }, {
            path: 'purchase-information',
            name: 'purchase-information',
            meta: {
                title: '购买信息'
            },
            component: () => import('@/views/soil/PurchaseInformation'),
        }, {
            path: 'invoice-information',
            name: 'invoice-information',
            meta: {
                title: '发票信息'
            },
            component: () => import('@/views/soil/InvoiceInformation'),
        }, {
            path: 'pay-notify',
            name: 'pay-notify',
            meta: {
                title: '支付状态'
            },
            component: () => import('@/views/soil/PayNotify'),
        }, {
            path: 'sampling',
            name: 'sampling',
            meta: {
                title: '取样方法'
            },
            component: () => import('@/views/soil/Sampling'),
        }, {
            path: 'test-item-selection-zero-five',
            name: 'test-item-selection-zero-five',
            meta: {
                title: '检测项目零元购五项检测'
            },
            component: () => import('@/views/soil/TestItemSelectionZeroFive'),
        }, {
            path: 'test-item-selection-one',
            name: 'test-item-selection-one',
            meta: {
                title: '检测项目一元购'
            },
            component: () => import('@/views/soil/TestItemSelectionOne'),
        }
        ]
    }, {
        path: '/index',
        name: 'index',
        meta: {
            title: '首页'
        },
        component: () => import('@/views/soil/Index'),
    }, {
        path: '/technological-process',
        name: 'technological-process',
        meta: {
            title: '土壤检测流程'
        },
        component: () => import('@/views/soil/TechnologicalProcess'),
    }, {
        path: '/technological-process-detail',
        name: 'technological-process-detail',
        meta: {
            title: '土壤检测流程'
        },
        component: () => import('@/views/soil/TechnologicalProcessDetail'),
    }, {
        path: '/loading',
        name: 'loading',
        meta: {
            title: '授权中'
        },
        component: () => import('@/views/soil/loading'),
    }])(pathName)
}
